﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using SmartEP.Presenter;

namespace SmartDesktop
{
    public partial class MeasurementController : UserControl,IMeasurementController
    {
        private IImageList imlPatient;
        private IPrescriptionControl Presription_Control;
        private ITakePhoto Take_Photo;
       
        public MeasurementController()
        {
            InitializeComponent();
        }

        public MeasurementController(ITakePhoto take_photo)
        {
            this.Take_Photo = take_photo;
        }

        public ITakePhoto TakePhoto
        {
            get { return Take_Photo; }
            set { Take_Photo = value; }
        }

        public IImageList ImageList
        {
            get { return imlPatient; }
            set { imlPatient = value; }
        }

        public IPrescriptionControl PrescriptionControl
        {
            get { return Presription_Control; }
            set { Presription_Control = value; }
        }
    }
}
